def PrintFeed(feed):
	print '\n'
	if not feed.entry:
		print 'No entries in feed. \n'
	entries=[]
	for entry in feed.entry:
#		print entry.title.text.encode('UTF-8'), entry.GetDocumentType(), entry.resource_id.text
		doctype=entry.GetDocumentType()
#		print str(doctype) == 'document'
		if str(doctype) == 'document':
			entries.append(entry)		
#		print entry.title.text, entry.updated.text
	#list the folders in which the docs exist
#		for folder in entry.InFolders():
#			print folder.title
	return entries


if __name__=="__main__":
	print "This has to be imported in a client side app"
